@use '../../material/core/style/vendor-prefixes';
@import '@material/data-table/mixins.import';
@import '../mdc-helpers/mdc-helpers';

@include mdc-data-table-core-styles($query: $mat-base-styles-without-animation-query);

.mat-table-sticky {
  @include vendor-prefixes.position-sticky;
}

// MDC Table applies `table-layout: fixed`, but this is a backwards incompatible
// change since the table did not previously apply it.
// TODO: Add a mixin to MDC to set the layout instead of including this override,
// see this issue: https://github.com/material-components/material-components-web/issues/6412
.mdc-data-table__table {
  table-layout: auto;
}
